import React, {memo} from 'react';

const FunUseCallBackChildren = (props) => {
    console.log("FunUseCallBackChildren", props);
    return (
        <div>
            <h4>FunUseCallBackChildren</h4>
            <button onClick={() => {
                props.changeNum(props.num + 2)
            }}>FunUseCallBackChildren ====>{props.num}</button>
        </div>
    );
};
export default memo(FunUseCallBackChildren);